﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ProBugTracker.Domain;

namespace ProBugTracker.Core.Interface
{
    public interface IUserManager
    {
        bool AddNewUser(User user);
        bool EditNewUser(User user);
        bool DeleteUser(int userID);
        bool AddNewUserRole(int userID, int roleID, DateTime startDate, DateTime endDate);
        bool RemoveUserRole(int userID, int roleID);
        IList<User> FindAllActiveUsers();
        IList<User> FindAllInactiveUsers();
        User FindUserByID(int userID);
        User FindUserByUserName(string userName);
        IList<User> FindUserByFirstName(string firstName);
        User ValidateLogInUser(string userName, string password);
    }
}
